]> dgit.raspbian.org Git - gnome-shell.git/commit
swipeTracker: Pass orientation in constructor
authorAlexander Mikhaylenko <exalm7659@gmail.com>
Mon, 1 Mar 2021 16:53:55 +0000 (21:53 +0500)
committerMarge Bot <marge-bot@gnome.org>
Sat, 13 Mar 2021 18:08:24 +0000 (18:08 +0000)
commitdf4c05f834ca31d5fa359b6db844d90c4d274a09
treec938612725acb7614cbf1c02b6280d3c555b15c9
parentc06bc74d6de951e9624e215e3062f38af5343836
swipeTracker: Pass orientation in constructor

When this class was written, all swipes in the shell were vertical, so it
made sense to make the default orientation vertical. This isn't the case
anymore, thus pass make it mandatory to specify orientation when creating
a tracker.

Change the property default values to horizontal as well to match Clutter
instead of the old shell design.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1731>
js/ui/appDisplay.js
js/ui/overview.js
js/ui/swipeTracker.js
js/ui/unlockDialog.js
js/ui/workspaceAnimation.js
js/ui/workspacesView.js